import 'package:flutter/material.dart';

class AppTheme {
  // 颜色体系
  static const Color primaryColor = Color(0xFF1565C0);
  static const Color successColor = Color(0xFF4CAF50);
  static const Color warningColor = Color(0xFFFF9800);
  static const Color errorColor = Color(0xFFF44336);
  static const Color infoBackground = Color(0xFFE3F2FD);
  
  // 文字样式
  static const TextStyle titleLarge = TextStyle(
    fontSize: 24,
    fontWeight: FontWeight.bold,
    color: Colors.black87,
  );
  
  static const TextStyle titleMedium = TextStyle(
    fontSize: 22,
    fontWeight: FontWeight.bold,
    color: Colors.black87,
  );
  
  static const TextStyle bodyLarge = TextStyle(
    fontSize: 20,
    color: Colors.black87,
  );
  
  static const TextStyle bodyMedium = TextStyle(
    fontSize: 18,
    color: Colors.black87,
  );
  
  static const TextStyle bodySmall = TextStyle(
    fontSize: 16,
    color: Colors.grey,
  );
  
  // 卡片样式
  static BoxDecoration cardDecoration = BoxDecoration(
    color: Colors.white,
    borderRadius: BorderRadius.circular(12),
    boxShadow: [
      BoxShadow(
        color: Colors.black12,
        blurRadius: 4,
        offset: Offset(0, 2),
      ),
    ],
  );
  
  // 信息卡片样式
  static BoxDecoration infoCardDecoration = BoxDecoration(
    color: infoBackground,
    borderRadius: BorderRadius.circular(12),
    border: Border.all(color: primaryColor.withOpacity(0.3)),
  );
}